"""
读入2个正整数A和 B，1<=A<=9, 1<=B<=10,
产生数字AA...A,一共B个A
"""
a, b = input().split(',')
for i in range(0,int(b)):
    print(f'{int(a)}',end='')